import request from '../utils/request';

//导航
export let getIndexNav = () => {
  return request.post('/api/service/home',{mid:0,phoneTerminal:2})
}
//轮播图
export let getCarouselList = () => {
  return request.post('/api/service/carouselList',{mid:0,phoneTerminal:2})
}
//排名数据
export let getRankList = () => {
  return request.post('/api/service/rankPage',{mid:0,phoneTerminal:2})
}
//视频
export let getDataList = () => {
  return request.post('/api/service/articlePage',{mid:0,phoneTerminal:2})
}
//详情页数据
export const Detail = (str) => {
  return request.post("/api/service/rankDetail", { "mid": "0",
"drops":'',rankId:str})
}
//详情页过滤数据
export const filterDetail = (str,str1) => {
  return request.post("/api/service/rankDetail", { "mid": "0",
"drops": str1,rankId:str})
}

//详情页每一项
export const getRankDropList = (str) => {
  return request.post("/api/service/rankDropList", { "mid": "0",
rankId:str})
}

